package cn.wch.meshlib.frame.ack;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.util.List;

import cn.wch.meshlib.constant.Command;

/**
 * 枚举应答类型
 */
@Retention(RetentionPolicy.SOURCE)
@ByteDef(flag = false,value = {AckType.PROVISION_INFO,AckType.PROVISION,AckType.DELETE_NODE,AckType.DELETE_INFO,
        AckType.QUERY_STATE,AckType.TRANSFER,AckType.IMAGE_INFO,AckType.VERIFY,AckType.END,
        AckType.UPDATE,AckType.SUBSCRIBE,AckType.RESET})
public @interface AckType {
    /**厂商信息*/
    byte PROVISION_INFO=Command.CMD_PROVISION_INFO_ACK;
    /**配置*/
    byte PROVISION=Command.CMD_PROVISION_ACK;
    /**删除节点*/
    byte DELETE_NODE=Command.CMD_DELETE_NODE_ACK;
    /**删除信息*/
    byte DELETE_INFO=Command.CMD_DELETE_NODE_INFO_ACK;
    /**查询状态*/
    byte QUERY_STATE=Command.CMD_ASK_STATUS_ACK;
    /**传输*/
    byte TRANSFER=Command.CMD_TRANSFER_RECEIVE;
    /**图像信息*/
    byte IMAGE_INFO=Command.CMD_IMAGE_INFO_ACK;
    /**验证*/
    byte VERIFY=Command.CMD_VERIFY_ACK;
    /**结束*/
    byte END=Command.CMD_END_INFO_ACK;
    /**更新*/
    byte UPDATE=Command.CMD_UPDATE_ACK;
    /**订阅成功*/
    byte SUBSCRIBE=Command.CMD_SET_SUB_ACK;
    /**复位*/
    byte RESET=Command.CMD_LOCAL_RESET_ACK;
}
